package com.passive.lock.model.po;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class TRouteExample {
    /**
     * T_Route
     */
    protected String orderByClause;

    /**
     * T_Route
     */
    protected boolean distinct;

    /**
     * T_Route
     */
    protected List<Criteria> oredCriteria;

    /**
     *
     * @mbggenerated 2017-07-28
     */
    public TRouteExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    /**
     *
     * @mbggenerated 2017-07-28
     */
    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    /**
     *
     * @mbggenerated 2017-07-28
     */
    public String getOrderByClause() {
        return orderByClause;
    }

    /**
     *
     * @mbggenerated 2017-07-28
     */
    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    /**
     *
     * @mbggenerated 2017-07-28
     */
    public boolean isDistinct() {
        return distinct;
    }

    /**
     *
     * @mbggenerated 2017-07-28
     */
    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    /**
     *
     * @mbggenerated 2017-07-28
     */
    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    /**
     *
     * @mbggenerated 2017-07-28
     */
    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    /**
     *
     * @mbggenerated 2017-07-28
     */
    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    /**
     *
     * @mbggenerated 2017-07-28
     */
    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    /**
     *
     * @mbggenerated 2017-07-28
     */
    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    /**
     * T_Route 2017-07-28
     */
    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andRouteidIsNull() {
            addCriterion("routeId is null");
            return (Criteria) this;
        }

        public Criteria andRouteidIsNotNull() {
            addCriterion("routeId is not null");
            return (Criteria) this;
        }

        public Criteria andRouteidEqualTo(Integer value) {
            addCriterion("routeId =", value, "routeid");
            return (Criteria) this;
        }

        public Criteria andRouteidNotEqualTo(Integer value) {
            addCriterion("routeId <>", value, "routeid");
            return (Criteria) this;
        }

        public Criteria andRouteidGreaterThan(Integer value) {
            addCriterion("routeId >", value, "routeid");
            return (Criteria) this;
        }

        public Criteria andRouteidGreaterThanOrEqualTo(Integer value) {
            addCriterion("routeId >=", value, "routeid");
            return (Criteria) this;
        }

        public Criteria andRouteidLessThan(Integer value) {
            addCriterion("routeId <", value, "routeid");
            return (Criteria) this;
        }

        public Criteria andRouteidLessThanOrEqualTo(Integer value) {
            addCriterion("routeId <=", value, "routeid");
            return (Criteria) this;
        }

        public Criteria andRouteidIn(List<Integer> values) {
            addCriterion("routeId in", values, "routeid");
            return (Criteria) this;
        }

        public Criteria andRouteidNotIn(List<Integer> values) {
            addCriterion("routeId not in", values, "routeid");
            return (Criteria) this;
        }

        public Criteria andRouteidBetween(Integer value1, Integer value2) {
            addCriterion("routeId between", value1, value2, "routeid");
            return (Criteria) this;
        }

        public Criteria andRouteidNotBetween(Integer value1, Integer value2) {
            addCriterion("routeId not between", value1, value2, "routeid");
            return (Criteria) this;
        }

        public Criteria andRoutenameIsNull() {
            addCriterion("routeName is null");
            return (Criteria) this;
        }

        public Criteria andRoutenameIsNotNull() {
            addCriterion("routeName is not null");
            return (Criteria) this;
        }

        public Criteria andRoutenameEqualTo(String value) {
            addCriterion("routeName =", value, "routename");
            return (Criteria) this;
        }

        public Criteria andRoutenameNotEqualTo(String value) {
            addCriterion("routeName <>", value, "routename");
            return (Criteria) this;
        }

        public Criteria andRoutenameGreaterThan(String value) {
            addCriterion("routeName >", value, "routename");
            return (Criteria) this;
        }

        public Criteria andRoutenameGreaterThanOrEqualTo(String value) {
            addCriterion("routeName >=", value, "routename");
            return (Criteria) this;
        }

        public Criteria andRoutenameLessThan(String value) {
            addCriterion("routeName <", value, "routename");
            return (Criteria) this;
        }

        public Criteria andRoutenameLessThanOrEqualTo(String value) {
            addCriterion("routeName <=", value, "routename");
            return (Criteria) this;
        }

        public Criteria andRoutenameLike(String value) {
            addCriterion("routeName like", value, "routename");
            return (Criteria) this;
        }

        public Criteria andRoutenameNotLike(String value) {
            addCriterion("routeName not like", value, "routename");
            return (Criteria) this;
        }

        public Criteria andRoutenameIn(List<String> values) {
            addCriterion("routeName in", values, "routename");
            return (Criteria) this;
        }

        public Criteria andRoutenameNotIn(List<String> values) {
            addCriterion("routeName not in", values, "routename");
            return (Criteria) this;
        }

        public Criteria andRoutenameBetween(String value1, String value2) {
            addCriterion("routeName between", value1, value2, "routename");
            return (Criteria) this;
        }

        public Criteria andRoutenameNotBetween(String value1, String value2) {
            addCriterion("routeName not between", value1, value2, "routename");
            return (Criteria) this;
        }

        public Criteria andRegionidsIsNull() {
            addCriterion("regionIds is null");
            return (Criteria) this;
        }

        public Criteria andRegionidsIsNotNull() {
            addCriterion("regionIds is not null");
            return (Criteria) this;
        }

        public Criteria andRegionidsEqualTo(String value) {
            addCriterion("regionIds =", value, "regionids");
            return (Criteria) this;
        }

        public Criteria andRegionidsNotEqualTo(String value) {
            addCriterion("regionIds <>", value, "regionids");
            return (Criteria) this;
        }

        public Criteria andRegionidsGreaterThan(String value) {
            addCriterion("regionIds >", value, "regionids");
            return (Criteria) this;
        }

        public Criteria andRegionidsGreaterThanOrEqualTo(String value) {
            addCriterion("regionIds >=", value, "regionids");
            return (Criteria) this;
        }

        public Criteria andRegionidsLessThan(String value) {
            addCriterion("regionIds <", value, "regionids");
            return (Criteria) this;
        }

        public Criteria andRegionidsLessThanOrEqualTo(String value) {
            addCriterion("regionIds <=", value, "regionids");
            return (Criteria) this;
        }

        public Criteria andRegionidsLike(String value) {
            addCriterion("regionIds like", value, "regionids");
            return (Criteria) this;
        }

        public Criteria andRegionidsNotLike(String value) {
            addCriterion("regionIds not like", value, "regionids");
            return (Criteria) this;
        }

        public Criteria andRegionidsIn(List<String> values) {
            addCriterion("regionIds in", values, "regionids");
            return (Criteria) this;
        }

        public Criteria andRegionidsNotIn(List<String> values) {
            addCriterion("regionIds not in", values, "regionids");
            return (Criteria) this;
        }

        public Criteria andRegionidsBetween(String value1, String value2) {
            addCriterion("regionIds between", value1, value2, "regionids");
            return (Criteria) this;
        }

        public Criteria andRegionidsNotBetween(String value1, String value2) {
            addCriterion("regionIds not between", value1, value2, "regionids");
            return (Criteria) this;
        }

        public Criteria andRegionidIsNull() {
            addCriterion("regionId is null");
            return (Criteria) this;
        }

        public Criteria andRegionidIsNotNull() {
            addCriterion("regionId is not null");
            return (Criteria) this;
        }

        public Criteria andRegionidEqualTo(Integer value) {
            addCriterion("regionId =", value, "regionid");
            return (Criteria) this;
        }

        public Criteria andRegionidNotEqualTo(Integer value) {
            addCriterion("regionId <>", value, "regionid");
            return (Criteria) this;
        }

        public Criteria andRegionidGreaterThan(Integer value) {
            addCriterion("regionId >", value, "regionid");
            return (Criteria) this;
        }

        public Criteria andRegionidGreaterThanOrEqualTo(Integer value) {
            addCriterion("regionId >=", value, "regionid");
            return (Criteria) this;
        }

        public Criteria andRegionidLessThan(Integer value) {
            addCriterion("regionId <", value, "regionid");
            return (Criteria) this;
        }

        public Criteria andRegionidLessThanOrEqualTo(Integer value) {
            addCriterion("regionId <=", value, "regionid");
            return (Criteria) this;
        }

        public Criteria andRegionidIn(List<Integer> values) {
            addCriterion("regionId in", values, "regionid");
            return (Criteria) this;
        }

        public Criteria andRegionidNotIn(List<Integer> values) {
            addCriterion("regionId not in", values, "regionid");
            return (Criteria) this;
        }

        public Criteria andRegionidBetween(Integer value1, Integer value2) {
            addCriterion("regionId between", value1, value2, "regionid");
            return (Criteria) this;
        }

        public Criteria andRegionidNotBetween(Integer value1, Integer value2) {
            addCriterion("regionId not between", value1, value2, "regionid");
            return (Criteria) this;
        }

        public Criteria andProuteidIsNull() {
            addCriterion("prouteId is null");
            return (Criteria) this;
        }

        public Criteria andProuteidIsNotNull() {
            addCriterion("prouteId is not null");
            return (Criteria) this;
        }

        public Criteria andProuteidEqualTo(Integer value) {
            addCriterion("prouteId =", value, "prouteid");
            return (Criteria) this;
        }

        public Criteria andProuteidNotEqualTo(Integer value) {
            addCriterion("prouteId <>", value, "prouteid");
            return (Criteria) this;
        }

        public Criteria andProuteidGreaterThan(Integer value) {
            addCriterion("prouteId >", value, "prouteid");
            return (Criteria) this;
        }

        public Criteria andProuteidGreaterThanOrEqualTo(Integer value) {
            addCriterion("prouteId >=", value, "prouteid");
            return (Criteria) this;
        }

        public Criteria andProuteidLessThan(Integer value) {
            addCriterion("prouteId <", value, "prouteid");
            return (Criteria) this;
        }

        public Criteria andProuteidLessThanOrEqualTo(Integer value) {
            addCriterion("prouteId <=", value, "prouteid");
            return (Criteria) this;
        }

        public Criteria andProuteidIn(List<Integer> values) {
            addCriterion("prouteId in", values, "prouteid");
            return (Criteria) this;
        }

        public Criteria andProuteidNotIn(List<Integer> values) {
            addCriterion("prouteId not in", values, "prouteid");
            return (Criteria) this;
        }

        public Criteria andProuteidBetween(Integer value1, Integer value2) {
            addCriterion("prouteId between", value1, value2, "prouteid");
            return (Criteria) this;
        }

        public Criteria andProuteidNotBetween(Integer value1, Integer value2) {
            addCriterion("prouteId not between", value1, value2, "prouteid");
            return (Criteria) this;
        }

        public Criteria andProuteidsIsNull() {
            addCriterion("prouteIds is null");
            return (Criteria) this;
        }

        public Criteria andProuteidsIsNotNull() {
            addCriterion("prouteIds is not null");
            return (Criteria) this;
        }

        public Criteria andProuteidsEqualTo(String value) {
            addCriterion("prouteIds =", value, "prouteids");
            return (Criteria) this;
        }

        public Criteria andProuteidsNotEqualTo(String value) {
            addCriterion("prouteIds <>", value, "prouteids");
            return (Criteria) this;
        }

        public Criteria andProuteidsGreaterThan(String value) {
            addCriterion("prouteIds >", value, "prouteids");
            return (Criteria) this;
        }

        public Criteria andProuteidsGreaterThanOrEqualTo(String value) {
            addCriterion("prouteIds >=", value, "prouteids");
            return (Criteria) this;
        }

        public Criteria andProuteidsLessThan(String value) {
            addCriterion("prouteIds <", value, "prouteids");
            return (Criteria) this;
        }

        public Criteria andProuteidsLessThanOrEqualTo(String value) {
            addCriterion("prouteIds <=", value, "prouteids");
            return (Criteria) this;
        }

        public Criteria andProuteidsLike(String value) {
            addCriterion("prouteIds like", value, "prouteids");
            return (Criteria) this;
        }

        public Criteria andProuteidsNotLike(String value) {
            addCriterion("prouteIds not like", value, "prouteids");
            return (Criteria) this;
        }

        public Criteria andProuteidsIn(List<String> values) {
            addCriterion("prouteIds in", values, "prouteids");
            return (Criteria) this;
        }

        public Criteria andProuteidsNotIn(List<String> values) {
            addCriterion("prouteIds not in", values, "prouteids");
            return (Criteria) this;
        }

        public Criteria andProuteidsBetween(String value1, String value2) {
            addCriterion("prouteIds between", value1, value2, "prouteids");
            return (Criteria) this;
        }

        public Criteria andProuteidsNotBetween(String value1, String value2) {
            addCriterion("prouteIds not between", value1, value2, "prouteids");
            return (Criteria) this;
        }

        public Criteria andMergenameIsNull() {
            addCriterion("mergeName is null");
            return (Criteria) this;
        }

        public Criteria andMergenameIsNotNull() {
            addCriterion("mergeName is not null");
            return (Criteria) this;
        }

        public Criteria andMergenameEqualTo(String value) {
            addCriterion("mergeName =", value, "mergename");
            return (Criteria) this;
        }

        public Criteria andMergenameNotEqualTo(String value) {
            addCriterion("mergeName <>", value, "mergename");
            return (Criteria) this;
        }

        public Criteria andMergenameGreaterThan(String value) {
            addCriterion("mergeName >", value, "mergename");
            return (Criteria) this;
        }

        public Criteria andMergenameGreaterThanOrEqualTo(String value) {
            addCriterion("mergeName >=", value, "mergename");
            return (Criteria) this;
        }

        public Criteria andMergenameLessThan(String value) {
            addCriterion("mergeName <", value, "mergename");
            return (Criteria) this;
        }

        public Criteria andMergenameLessThanOrEqualTo(String value) {
            addCriterion("mergeName <=", value, "mergename");
            return (Criteria) this;
        }

        public Criteria andMergenameLike(String value) {
            addCriterion("mergeName like", value, "mergename");
            return (Criteria) this;
        }

        public Criteria andMergenameNotLike(String value) {
            addCriterion("mergeName not like", value, "mergename");
            return (Criteria) this;
        }

        public Criteria andMergenameIn(List<String> values) {
            addCriterion("mergeName in", values, "mergename");
            return (Criteria) this;
        }

        public Criteria andMergenameNotIn(List<String> values) {
            addCriterion("mergeName not in", values, "mergename");
            return (Criteria) this;
        }

        public Criteria andMergenameBetween(String value1, String value2) {
            addCriterion("mergeName between", value1, value2, "mergename");
            return (Criteria) this;
        }

        public Criteria andMergenameNotBetween(String value1, String value2) {
            addCriterion("mergeName not between", value1, value2, "mergename");
            return (Criteria) this;
        }

        public Criteria andCreatetimeIsNull() {
            addCriterion("createTime is null");
            return (Criteria) this;
        }

        public Criteria andCreatetimeIsNotNull() {
            addCriterion("createTime is not null");
            return (Criteria) this;
        }

        public Criteria andCreatetimeEqualTo(Date value) {
            addCriterion("createTime =", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeNotEqualTo(Date value) {
            addCriterion("createTime <>", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeGreaterThan(Date value) {
            addCriterion("createTime >", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeGreaterThanOrEqualTo(Date value) {
            addCriterion("createTime >=", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeLessThan(Date value) {
            addCriterion("createTime <", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeLessThanOrEqualTo(Date value) {
            addCriterion("createTime <=", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeIn(List<Date> values) {
            addCriterion("createTime in", values, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeNotIn(List<Date> values) {
            addCriterion("createTime not in", values, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeBetween(Date value1, Date value2) {
            addCriterion("createTime between", value1, value2, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeNotBetween(Date value1, Date value2) {
            addCriterion("createTime not between", value1, value2, "createtime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeIsNull() {
            addCriterion("updateTime is null");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeIsNotNull() {
            addCriterion("updateTime is not null");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeEqualTo(Date value) {
            addCriterion("updateTime =", value, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeNotEqualTo(Date value) {
            addCriterion("updateTime <>", value, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeGreaterThan(Date value) {
            addCriterion("updateTime >", value, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeGreaterThanOrEqualTo(Date value) {
            addCriterion("updateTime >=", value, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeLessThan(Date value) {
            addCriterion("updateTime <", value, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeLessThanOrEqualTo(Date value) {
            addCriterion("updateTime <=", value, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeIn(List<Date> values) {
            addCriterion("updateTime in", values, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeNotIn(List<Date> values) {
            addCriterion("updateTime not in", values, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeBetween(Date value1, Date value2) {
            addCriterion("updateTime between", value1, value2, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeNotBetween(Date value1, Date value2) {
            addCriterion("updateTime not between", value1, value2, "updatetime");
            return (Criteria) this;
        }

        public Criteria andGroupidIsNull() {
            addCriterion("groupId is null");
            return (Criteria) this;
        }

        public Criteria andGroupidIsNotNull() {
            addCriterion("groupId is not null");
            return (Criteria) this;
        }

        public Criteria andGroupidEqualTo(String value) {
            addCriterion("groupId =", value, "groupid");
            return (Criteria) this;
        }

        public Criteria andGroupidNotEqualTo(String value) {
            addCriterion("groupId <>", value, "groupid");
            return (Criteria) this;
        }

        public Criteria andGroupidGreaterThan(String value) {
            addCriterion("groupId >", value, "groupid");
            return (Criteria) this;
        }

        public Criteria andGroupidGreaterThanOrEqualTo(String value) {
            addCriterion("groupId >=", value, "groupid");
            return (Criteria) this;
        }

        public Criteria andGroupidLessThan(String value) {
            addCriterion("groupId <", value, "groupid");
            return (Criteria) this;
        }

        public Criteria andGroupidLessThanOrEqualTo(String value) {
            addCriterion("groupId <=", value, "groupid");
            return (Criteria) this;
        }

        public Criteria andGroupidLike(String value) {
            addCriterion("groupId like", value, "groupid");
            return (Criteria) this;
        }

        public Criteria andGroupidNotLike(String value) {
            addCriterion("groupId not like", value, "groupid");
            return (Criteria) this;
        }

        public Criteria andGroupidIn(List<String> values) {
            addCriterion("groupId in", values, "groupid");
            return (Criteria) this;
        }

        public Criteria andGroupidNotIn(List<String> values) {
            addCriterion("groupId not in", values, "groupid");
            return (Criteria) this;
        }

        public Criteria andGroupidBetween(String value1, String value2) {
            addCriterion("groupId between", value1, value2, "groupid");
            return (Criteria) this;
        }

        public Criteria andGroupidNotBetween(String value1, String value2) {
            addCriterion("groupId not between", value1, value2, "groupid");
            return (Criteria) this;
        }

        public Criteria andGroupidsIsNull() {
            addCriterion("groupIds is null");
            return (Criteria) this;
        }

        public Criteria andGroupidsIsNotNull() {
            addCriterion("groupIds is not null");
            return (Criteria) this;
        }

        public Criteria andGroupidsEqualTo(String value) {
            addCriterion("groupIds =", value, "groupids");
            return (Criteria) this;
        }

        public Criteria andGroupidsNotEqualTo(String value) {
            addCriterion("groupIds <>", value, "groupids");
            return (Criteria) this;
        }

        public Criteria andGroupidsGreaterThan(String value) {
            addCriterion("groupIds >", value, "groupids");
            return (Criteria) this;
        }

        public Criteria andGroupidsGreaterThanOrEqualTo(String value) {
            addCriterion("groupIds >=", value, "groupids");
            return (Criteria) this;
        }

        public Criteria andGroupidsLessThan(String value) {
            addCriterion("groupIds <", value, "groupids");
            return (Criteria) this;
        }

        public Criteria andGroupidsLessThanOrEqualTo(String value) {
            addCriterion("groupIds <=", value, "groupids");
            return (Criteria) this;
        }

        public Criteria andGroupidsLike(String value) {
            addCriterion("groupIds like", value, "groupids");
            return (Criteria) this;
        }

        public Criteria andGroupidsNotLike(String value) {
            addCriterion("groupIds not like", value, "groupids");
            return (Criteria) this;
        }

        public Criteria andGroupidsIn(List<String> values) {
            addCriterion("groupIds in", values, "groupids");
            return (Criteria) this;
        }

        public Criteria andGroupidsNotIn(List<String> values) {
            addCriterion("groupIds not in", values, "groupids");
            return (Criteria) this;
        }

        public Criteria andGroupidsBetween(String value1, String value2) {
            addCriterion("groupIds between", value1, value2, "groupids");
            return (Criteria) this;
        }

        public Criteria andGroupidsNotBetween(String value1, String value2) {
            addCriterion("groupIds not between", value1, value2, "groupids");
            return (Criteria) this;
        }
    }

    /**
     * T_Route
     */
    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    /**
     * T_Route 2017-07-28
     */
    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}